#ifndef __BULLET_H__
#define __BULLET_H__

#include "cocos2d.h"
#include "GameObj.h"

using namespace cocos2d;

class Bullet : public GameObj
{
public:
	static Bullet* create(BULLET_TYPE type, float bulletSpeed, float damage, OBJ_TYPE objType, float angle);

	void fire();
	float d_damage;
	OBJ_TYPE d_ownerObjType;

protected:

	
private:
	float d_bulletSpeed;
	float d_angle;
	BULLET_TYPE d_type;
};

#endif  // __BULLET_H__